<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <%- include common %>
        <style>
            .layui-layout-body {
                padding-top: 0;
            }
        </style>
</head>

<body class="layui-layout-body">
    <div class="layui-layout layui-layout-admin">
        <%- include head  %>


        <div class="layui-body">
            <!-- 内容主体区域 -->
            <div style="padding: 15px;">
                <h2 class="text-info">添加房间详情</h2><br>
                <div class="row">
                    <div class="col-md-4 ">
                        <form action="/room/roomupdate/updateone" method="POST">
                            <div class="layui-form-item">
                                <label for="rnum" class="layui-form-label">房间编号</label>
                                <div class="layui-input-block">
                                    <input readonly type="text" name="rnum" class="form-control layui-input" id="rnum"
                                        value="<%- result.rnum %>" style="border-color: red !important">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label for="type" class="layui-form-label">房间类型</label>
                                <div class="layui-input-block">
                                    <input readonly type="text" name="type" class="form-control layui-input" id="type"
                                        value="<%- result.type %>" style="border-color: red !important">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label for="food" class="layui-form-label">房间食物</label>
                                <div class="layui-input-block">
                                    <input type="text" name="food" class="form-control layui-input" id="food"
                                        value="<%- result.food %>">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label for="moeny" class="layui-form-label">房间价格</label>
                                <div class="layui-input-block">
                                    <input type="text" name="moeny" class="form-control layui-input" id="moeny"
                                        value="<%- result.moeny %>">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label for="phone" class="layui-form-label">房间电话</label>
                                <div class="layui-input-block">
                                    <input type="text" name="phone" class="form-control layui-input" id="phone"
                                        value="<%- result.phone %>">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label for="state" class="layui-form-label">房间状态</label>
                                <div class="layui-input-block">
                                    <input type="text" name="state" class="form-control layui-input" id="state"
                                        value="<%- result.state %>">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label for="alt" class="layui-form-label">房间alt</label>
                                <div class="layui-input-block">
                                    <input type="text" name="alt" class="form-control layui-input" id="alt"
                                        value="<%- result.alt %>">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label for="id" class="layui-form-label">房间id</label>
                                <div class="layui-input-block">
                                    <input type="text" name="id" class="form-control layui-input" id="id"
                                        value="<%- result.id %>">
                                </div>
                            </div>

                            <button type="submit" class="layui-btn">修改</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </form>
                    </div>
                </div>
            </div>
        </div>

        <div class="layui-footer">
            <!-- 底部固定区域 -->
            © 国际大酒店 layumen.com
        </div>
    </div>
    <!-- <script src="../src/layui.js"></script> -->
    <script>
        //JavaScript代码区域
        layui.use('element', function () {
            var element = layui.element;

        });
    </script>
</body>

</html>